package com.gonsin.gview.common.po;

import com.gonsin.gview.annotations.data.GBatch;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@ApiModel("用户组搜索表单")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GroupSearchPo {

    @ApiModelProperty("用户组名字")
    private String name;       // 角色名字

    @ApiModelProperty("是否有审核权")
    private Boolean audit;

    @ApiModelProperty("是否有免审核权")
    private Boolean freeAudit;

    @ApiModelProperty("是否为管理员（用于接受反馈信息）")
    private Boolean admin;

    @ApiModelProperty("是否为后勤(用于接受呼叫服务)")
    private Boolean waiter;

    @GBatch
    @ApiModelProperty("组主键")
    private List<String> groupKeys;

    @ApiModelProperty("组类型")
    private String groupType;       // 组类型

    @ApiModelProperty("是否为只读内容")
    private Boolean readonly;

}
